projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c726fc7
)
Handle case when project was not found in eclipse.jdt.ls contact
author
Michal Krzywkowski
<k.michal@zoho.com>
Tue, 11 Sep 2018 21:13:56 +0000
(23:13 +0200)
committer
Michal Krzywkowski
<k.michal@zoho.com>
Thu, 18 Oct 2018 12:47:48 +0000
(14:47 +0200)
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index a23e73df83574e0ab5c6f5e7c107a93ced467e90..75d38573e9aedf5c8d5124d0e1405f4f79b54367 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-1959,8
+1959,9
@@
If SKIP-SIGNATURE, don't try to send textDocument/signatureHelp."
((string= system-type "darwin") "config_mac")
((string= system-type "windows-nt") "config_win")
(t "config_linux"))))
+ (project (or (project-current) `(transient . ,default-directory)))
(workspace
- (expand-file-name (md5 (car (project-roots
(project-current)
)))
+ (expand-file-name (md5 (car (project-roots
project
)))
(concat user-emacs-directory
"eglot-eclipse-jdt-cache"))))
(unless jar